<!DOCTYPE html>
<html>
    <head>
        <style>
            body {
                margin: 0;
            }

            td {
                width: 50px;
                height: 50px;
                padding: 0px;
            }

            .container {
                display: flex;
            }

            .container * {
                flex-shrink: 0;
            }

            .vfiller {
                height: 3000px;
            }

            .hfiller {
                width: 2000px;
            }

            tr:first-child > td:first-child {
                background-color: rgb(255,0,0);
            }

            tr:first-child td:last-child {
                background-color: rgb(0,255,0);
            }

            tr:last-child td:first-child {
                background-color: rgb(0,0,255);
            }

            tr:last-child td:last-child {
                background-color: rgb(255,255,0);
            }

            table {
                width: 100px;
                height: 100px;
                border-collapse: collapse;
                border-spacing:  0;
            }
        </style>
    </head>
    <body>
        <div class="vfiller"></div>
        <div class="container">
            <div class="hfiller"></div>
            <table>
                <tr>
                    <td></td>
                    <td></td>
                </tr>
                <tr>
                    <td></td>
                    <td></td>
                </tr>
            </table>
        </div>
    </body>
</html>
